package com.ego.servicebase.exceptionhandler;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *
 * 自定义异常
 * @author BuYuEgo
 * @date 16:53 2021/8/26
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class EgoException extends RuntimeException{

    /**
     * 状态码
     */
    private  Integer code;

    /**
     * 提示信息
     */
    private String msg;
}
